version: 0.1
log:
  fields:
    service: registry
storage:
  cache:
    blobdescriptor: inmemory
{% if docker_registry_rootdirectory is defined and docker_registry_rootdirectory|length %}
  filesystem:
    rootdirectory: {{ docker_registry_rootdirectory }}
{% endif %}        
  maintenance:
    uploadpurging:
      enabled: true
      age: {{ docker_registry_uploadpurging_age }}
      interval: 24h
      dryrun: false
  delete:
    enabled: true
http:
  addr: {{ docker_registry_http_addr }}
  headers:
    X-Content-Type-Options: [nosniff]  
health:
  storagedriver:
    enabled: true
    interval: 10s
    threshold: 3
